/**
 * 
 */
package com.view;

/**
 * The Class PageDetailsView.
 * 
 * @author user
 */
public class PageDetailsView {

	/** The from date. */
	public String fromDate;

	/** The to date. */
	public String toDate;

	/** The leave type. */
	public String leaveType;

	/** The leave reason. */
	public String leaveReason;

	/**
	 * Gets the from date.
	 * 
	 * @return the from date
	 */
	public String getFromDate() {
		return fromDate;
	}

	/**
	 * Sets the from date.
	 * 
	 * @param fromDate
	 *            the new from date
	 */
	public void setFromDate(final String fromDate) {
		this.fromDate = fromDate;
	}

	/**
	 * Gets the to date.
	 * 
	 * @return the to date
	 */
	public String getToDate() {
		return toDate;
	}

	/**
	 * Sets the to date.
	 * 
	 * @param toDate
	 *            the new to date
	 */
	public void setToDate(final String toDate) {
		this.toDate = toDate;
	}

	/**
	 * Gets the leave type.
	 * 
	 * @return the leave type
	 */
	public String getLeaveType() {
		return leaveType;
	}

	/**
	 * Sets the leave type.
	 * 
	 * @param leaveType
	 *            the new leave type
	 */
	public void setLeaveType(final String leaveType) {
		this.leaveType = leaveType;
	}

	/**
	 * Gets the leave reason.
	 * 
	 * @return the leave reason
	 */
	public String getLeaveReason() {
		return leaveReason;
	}

	/**
	 * Sets the leave reason.
	 * 
	 * @param leaveReason
	 *            the new leave reason
	 */
	public void setLeaveReason(final String leaveReason) {
		this.leaveReason = leaveReason;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "PageDetailsView [fromDate=" + fromDate + ", toDate=" + toDate
				+ ", leaveType=" + leaveType + ", leaveReason=" + leaveReason
				+ "]";
	}

}
